package com.jic.data.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.jic.common.base.vo.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;

//import javax.validation.constraints.NotEmpty;
@Data
@NoArgsConstructor
@ApiModel(description = " sale_category_detail ")
public class SaleCategoryDetail extends BaseEntity{
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "") 
    @ApiModelProperty(notes = "")
    private Long id;

    // @NotEmpty(message = "日期（年月）") 
    @ApiModelProperty(notes = "日期（年月）")
    private Date saleDate;

    // @NotEmpty(message = "客户数") 
    @ApiModelProperty(notes = "客户数")
    private Integer customerQuantity;

    // @NotEmpty(message = "订单数	") 
    @ApiModelProperty(notes = "订单数	")
    private Integer totalOrderQuantity;

    // @NotEmpty(message = "销售额	") 
    @ApiModelProperty(notes = "销售额	")
    private BigDecimal totalSaleAmount;

    // @NotEmpty(message = "商品数量") 
    @ApiModelProperty(notes = "商品数量")
    private Integer productQuantity;

    // @NotEmpty(message = "折扣率") 
    @ApiModelProperty(notes = "折扣率")
    private Float discountRate;

    // @NotEmpty(message = "客单价") 
    @ApiModelProperty(notes = "客单价")
    private BigDecimal customersUnitPrice;

    // @NotEmpty(message = "连带率") 
    @ApiModelProperty(notes = "连带率")
    private Float relatedRate;

    // @NotEmpty(message = "人均消费额	") 
    @ApiModelProperty(notes = "人均消费额	")
    private BigDecimal avgConsume;

    // @NotEmpty(message = "件单价") 
    @ApiModelProperty(notes = "件单价")
    private BigDecimal onePiecesUnitPrice;

    // @NotEmpty(message = "平台名称") 
    @ApiModelProperty(notes = "平台名称")
    private String platformName;

    // @NotEmpty(message = "平台code") 
    @ApiModelProperty(notes = "平台code")
    private String platformCode;

    // @NotEmpty(message = "通道code") 
    @ApiModelProperty(notes = "通道code")
    private String chnennelCode;

    // @NotEmpty(message = "店铺名称") 
    @ApiModelProperty(notes = "店铺名称")
    private String storeName;

    // @NotEmpty(message = "店铺code") 
    @ApiModelProperty(notes = "店铺code")
    private String storeCode;

    // @NotEmpty(message = "商家名称") 
    @ApiModelProperty(notes = "商家名称")
    private String merchantName;

    // @NotEmpty(message = "商家编码") 
    @ApiModelProperty(notes = "商家编码")
    private String merchantNumber;

    // @NotEmpty(message = "省份code") 
    @ApiModelProperty(notes = "省份code")
    private String provinceCode;

    // @NotEmpty(message = "省份名称") 
    @ApiModelProperty(notes = "省份名称")
    private String provinceName;

    // @NotEmpty(message = "城市code") 
    @ApiModelProperty(notes = "城市code")
    private String cityCode;

    // @NotEmpty(message = "城市名称") 
    @ApiModelProperty(notes = "城市名称")
    private String cityName;

    // @NotEmpty(message = "品类code") 
    @ApiModelProperty(notes = "品类code")
    private String categoryCode;

    // @NotEmpty(message = "品类名称") 
    @ApiModelProperty(notes = "品类名称")
    private String categoryName;

    private Date saleDateStart;
    private Date saleDateEnd;

}
